package com.cszb;

import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestParam;

/**
 * @author:CrazyShaQiuShi
 * @email: 1047812462@qq.com
 * @createTime: 2018-9-30 16:47
 * @version: 1.0
 */
@RequestMapping(value = "/user")
public interface UserController {

    @GetMapping(path = "/say")
    String sayHello();

    /**
     * 年龄
     * @param userName
     * @return
     */
    @GetMapping(path = "/userName")
    String userName(@RequestParam(name = "userName") String userName);
}
